/**
 * 
 */
package com.zte.claa.inficombo.csa.app.config;

import java.util.ArrayList;
import java.util.List;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 0283000115
 * 
 * CSIF模拟器配置项
 * 
 * 	csif.simulator.isstart=N
	csif.simulator.port=6370
	csif.simulator.rptcirclesecond=60
	csif.simulator.rpttotalnum=100
	csif.simulator.redabufsize=4096
	csif.simulator.charsetname=UTF-8
	csif.simulator.rptdata[0]=4a770065650001:AA0122334455667788990099887766
 *
 */

@Component  
@ConfigurationProperties(prefix="csif.simulator") 
public class CSIFSimulatorProps {	
	private String isstart = "N";
	private int port = 6370;
	private int rptcirclesecond = 60;
	private int rpttotalnum = 100;
	private int redabufsize = 4096;
	private String charsetname = "UTF-8";
	// 代发消息队列
	private List<String> rptdata = new ArrayList<String>();
	
	
	public String getIsstart() {
		return isstart;
	}
	
	public void setIsstart(String isstart) {
		this.isstart = isstart;
	}
	
	public int getPort() {
		return port;
	}
	
	public void setPort(int port) {
		this.port = port;
	}
	
	public int getRptcirclesecond() {
		return rptcirclesecond;
	}
	
	public void setRptcirclesecond(int rptcirclesecond) {
		this.rptcirclesecond = rptcirclesecond;
	}
	
	public int getRpttotalnum() {
		return rpttotalnum;
	}
	
	public void setRpttotalnum(int rpttotalnum) {
		this.rpttotalnum = rpttotalnum;
	}

	public int getRedabufsize() {
		return redabufsize;
	}

	public void setRedabufsize(int redabufsize) {
		this.redabufsize = redabufsize;
	}

	public String getCharsetname() {
		return charsetname;
	}

	public void setCharsetname(String charsetname) {
		this.charsetname = charsetname;
	}

	public List<String> getRptdata() {
		return rptdata;
	}

	public void setRptdata(List<String> rptdata) {
		this.rptdata = rptdata;
	}
	
}
